package cn.xerllent.wxtp.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Set;

import javax.validation.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

@Data
@Accessors(chain = true)
@TableName (value="wxtp_dksb_course")
public class DksbCourse implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	@TableField(value="dksb_id")
	private Long dksbId;
	
	@TableField(value="src_userid")
	private String srcUserid;
	
	@TableField(value="tar_userid")
	private String tarUserid;
	
	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDate eventdate;
	
	private String grade;
	private String clasz;
	private String subject;
	private String coursetime;
	private BigDecimal hours;
	
    public @interface Update {
    }

}